$(document).ready(function(){
	$('#roleGroupTableList').bootstrapTable({
		url: '/role/tableList',
		method: 'post',
		striped: true,
		theadClasses:'thead-light',
		cache: false, 
		pagination: true,
		sortable: false,
		contentType: 'application/json',
		queryParamsType: 'limit',
		sidePagination: "server",
		pageNumber:1, 
		pageSize: 10,
		sortName: 'roleId',
		sortOrder:'desc',
		pageList: [10, 25, 50, 100],
		search: true,
		strictSearch: false,
		showRefresh: false,
		showColumns: false, 
		uniqueId: "roleId",
		showToggle:false,
		cardView: false,
		detailView: false,
	    columns: [{
	        field: 'roleId',
	        title: 'ID',
	        align: 'left',
	        titleTooltip: '角色的ID'
	    },{
	        field: 'roleName',
	        title: '角色名称',
	        align: 'left',
	        titleTooltip: '角色的名称信息'
	    }, {
	        field: 'roleMark',
	        title: '备注',
	        align: 'left',
	        titleTooltip: '角色的备注信息'
	    }, {
	        field: 'lastUpdTime',
	        title: '更新时间',
	        align: 'left',
	        titleTooltip: '最后一次修改时间'
	    },{
	        title: '操作',
	        titleTooltip: '对角色信息的处理操作',
	        formatter:function(value,row,index){
	        	return "<button type='button' class='btn btn-outline-primary btn-sm ml-2'>修改</button><button type='button' class='btn btn-danger btn-sm ml-2'>删除</button><button type='button' class='btn btn-warning btn-sm ml-2'>权限分配</button>";
	        }
	    } ] 
	});
});